function areaidFn(){
	ZeaiM.div_up({obj:areabox,h:36});
	ZEAI_area({areaid:o('form_areaid').value,areatitle:o('form_areatitle').value,ul:areabox.children[0],bx:true,str:'job',end:function(z,e){
		o('areatitle').html(e);o('areatitle').class('ed');
		o('form_areaid').value=z;
		o('form_areatitle').value=e;
	}});
}
function qun_search_btnFn(){ZeaiM.div_left({obj:qun_so,w:28});}
function joinqunFn(){
	if(mybmprice>0){
		zeai.alertplus({title:'您确定要加入此群么？',content:'如果同意加入该单身群后<br>已支付费用 <font class=Cf00>￥'+mybmprice+'</font> 将不退还<br><br>'+pricelist_str+'<br>如果同意请点击【确定加群】',title1:'我再想想',title2:'确定加群',
			fn1:function(){zeai.alertplus(0);},
			fn2:function(){zeai.alertplus(0);setTimeout(function(){joinqun_ajaxFn();},45);}
		});
	}else{joinqun_ajaxFn();}
}
function joinqun_ajaxFn(){
	zeai.ajax({url:MHOST+'/qun_detail'+zeai.extname,js:1,data:{submitok:'joinqun',id:id}},function(e){var rs=zeai.jsoneval(e);
		if(rs.flag==1){
			zeai.alert(rs.msg,'qun_detail'+zeai.ajxext+'id='+id);
		}else if(rs.flag=='startpay'){
			money.value=rs.money;paybtnFn(id);
		}else{
			ZeaiM.sorry(rs);
		}
	});
}
function paybtnFn(id) {
	var money=o('money').value;o('money_str').html(money+'元');
	ZeaiM.div_up({obj:czbox,h:pH});
}
function ulist_soFn(){ZeaiM.div_left({obj:ulist_so,w:28});}
function areaidFn(){
	ZeaiM.div_up({obj:areabox,h:36});
	ZEAI_area({areaid:o('form_areaid').value,areatitle:o('form_areatitle').value,ul:areabox.children[0],bx:true,str:'job',end:function(z,e){
		o('areatitle').html(e);o('areatitle').class('ed');
		o('form_areaid').value=z;
		o('form_areatitle').value=e;
	}});
}
function area2idFn(){
	ZeaiM.div_up({obj:areabox2,h:36});
	ZEAI_area({areaid:o('form_area2id').value,areatitle:o('form_area2title').value,ul:areabox2.children[0],bx:true,str:'hj',datastr:'hj',end:function(z,e){
		o('area2title').html(e);o('area2title').class('ed');
		o('form_area2id').value=z;
		o('form_area2title').value=e;
	}});
}



function delulist(that,qid,uid2){
	ZeaiM.confirmUp({title:'真的要踢出此成员么？',cancel:'取消',ok:'确定',okfn:function(){
		zeai.ajax(MHOST+'/qun_ulist'+zeai.ajxext+'submitok=delulist&uid2='+uid2+'&qid='+qid+'&t='+t,function(e){var rs=zeai.jsoneval(e);
			if (rs.flag == 1){
				var dl=that.parentNode.parentNode;
				dl.remove();
			}else{zeai.msg(rs.msg);}
		});
	}});
}
